# 
set(STR "")
foreach(var RANGE 6)
    message(${var})
endforeach()

foreach(var RANGE 0 6 2)
    message(${var})
endforeach()